import { request } from "@/utils/service"
import type * as ComboSource from "./types/combo-source"

/** 改 */
export function updateComboSourceDataApi(data: ComboSource.IUpdateComboSourceRequestData) {
  return request({
    url: "order/source/update",
    method: "put",
    data
  })
}

/** 查 */
export function getComboSourceDataApi(params: ComboSource.IGetComboSourceRequestData) {
  return request<ComboSource.GetComboSourceResponseData>({
    url: "order/source/query",
    method: "get",
    params
  })
}
